package com.cowin.sys.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "TM_BAS_MATERIAL_RELATION")
public class TmBasMaterialRelation {
    @Id
    @Column(name = "TM_BAS_MATERIAL_RELATION_ID")
    private Long tmBasMaterialRelationId;

    @Column(name = "MATERIAL_NO")
    private String materialNo;

    @Column(name = "BS_MATERIAL_NO")
    private String bsMaterialNo;

    @Column(name = "PS_MATERIAL_NO")
    private String psMaterialNo;

    @Column(name = "VEHICLE_TYPE")
    private String vehicleType;

    @Column(name = "EXTEND1")
    private String extend1;

    @Column(name = "EXTEND2")
    private String extend2;

    @Column(name = "EXTEND3")
    private String extend3;

    @Column(name = "EXTEND4")
    private String extend4;

    @Column(name = "EXTEND5")
    private String extend5;

    @Column(name = "EXTEND6")
    private String extend6;

    @Column(name = "LAST_UPDATE_TIME")
    private Date lastUpdateTime;

    @Column(name = "LAST_UPDATE_USERNAME")
    private String lastUpdateUsername;

    @Column(name = "PID")
    private Short pid;

    @Column(name = "PID_IS_CLOSED")
    private Short pidIsClosed;

    @Column(name = "MATERIAL_DESC")
    private String materialDesc;

    @Column(name = "BS_MATERIAL_DESC")
    private String bsMaterialDesc;

    @Column(name = "PS_MATERIAL_DESC")
    private String psMaterialDesc;

    @Column(name = "BS_VEHICLE_TYPE")
    private String bsVehicleType;

    @Column(name = "PS_VEHICLE_TYPE")
    private String psVehicleType;
}